package com.qiche.service;

import com.qiche.aspect.Result;
import com.qiche.model.StoreMemberCar;

import java.util.List;

/**
 * @author chendezhi
 * @date 2018/3/28 17:06
 */
public interface StoreMemberCarService extends IService<StoreMemberCar> {
    List<StoreMemberCar> getCarsByStoreMemberId(Long storeMemberId);

    StoreMemberCar getCarsByStoreMemberIdPlateNum(Long storeMemberId,String plateNumber);

    Result saveOrUpdate(StoreMemberCar car);

    Result delete(Long id);
}
